package cookingTools

import (
	"github.com/gin-gonic/gin"
	. "savor_gin/controllers/cookingTools"
)

func CookingToolLoad(g *gin.Engine) {
	g.POST("/tool", AddTool)
	g.GET("/tool", GetToolList)
	g.GET("/tool/search", GetToolById)
	g.DELETE("/tool", DeleteTool)
	g.PUT("/tool/:toolId", UpdateToolInfo)
}
